package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_PERSON_CURRENT_CUSTOM")
@ApiModel(value = "参数表-值班配置表： 此表中存储，各部门值班的参数配置")
public class PersonCurrentCustom extends BaseEntity {

    @ApiModelProperty(value="$column.comments")
    @TableField(value ="USER_NO")
    @JsonProperty(value = "userNo")
    private String  userNo;

    @ApiModelProperty(value="$column.comments")
    @TableField(value ="CURRENT_CUSTOM")
    @JsonProperty(value = "currentCustom")
    private String currentCustom;

    @ApiModelProperty(value="用户信息")
    @TableField(value ="USER_INFO_JSON")
    @JsonProperty(value = "userInfoJson")
    private String userInfoJson;
}
